From 2894bb17210ef61bbac080a4a6b7b42222cd2479 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Tue, 29 Aug 2006 09:08:29 -0600 Subject: [PATCH] [IA64] revert xen-ia64-unstable.hg cset 11301:a19dbbe4cff5 revert arch_domain_destory() for old PV-on-HVM on IPF Signed-off-by: Tsunehisa Doi Signed-off-by: Tomonari Horikoshi --- xen/arch/ia64/xen/domain.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/xen/arch/ia64/xen/domain.c b/xen/arch/ia64/xen/domain.c index 719af71ff2..2073fd52c7 100644 --- a/xen/arch/ia64/xen/domain.c +++ b/xen/arch/ia64/xen/domain.c @@ -402,16 +402,8 @@ fail_nomem: void arch_domain_destroy(struct domain *d) { BUG_ON(d->arch.mm.pgd != NULL); - if (d->shared_info != NULL) { - /* If this domain is domVTi, the shared_info page may - * be replaced with domheap. Then the shared_info page - * frees in relinquish_mm(). - */ - if (IS_XEN_HEAP_FRAME(virt_to_page(d->shared_info))) { - free_xenheap_pages(d->shared_info, - get_order_from_shift(XSI_SHIFT)); - } - } + if (d->shared_info != NULL) + free_xenheap_pages(d->shared_info, get_order_from_shift(XSI_SHIFT)); if (d->arch.shadow_bitmap != NULL) xfree(d->arch.shadow_bitmap); -- 2.30.2